package Application.UIEditApplication.view.ui
{
	import Application.UIEditApplication.def.Def;
	
	import XComponent.show.XFrame;
	
	import fl.controls.Button;
	
	import flash.display.Sprite;

	public class ComponentInfoMed	extends UIBaseMed
	{
		static public var NAME : String = "ComponentInfoMed";
		
		private var m_pan : XFrame ;
		
		public function ComponentInfoMed()
		{
			super(NAME,[Def.STAGE_ALIGN_MIDDLE]);
		}
		
		override public function onRegister():void
		{
//			m_pan = new XFrame(200,200);
//			m_pan.drawDefaultBackground(0xffff00);
//			
//			var view : Sprite = this.viewComponent as Sprite;
//			view.addChild(m_pan);
//			
//			m_pan.drawDefaultBackground(0xffff00);
//			
//			view.x -= m_pan.width/2;
//			view.y -= m_pan.height/2;
		}
		
		override public function onRemove():void
		{
			
		}
	}
}